package service;

import pojo.Student;

import java.util.List;

public interface StudentService {
    int count(Student student);

    List<Student> findAll(Student student, Integer offset, Integer pageSize);

    int add(Student student);

    Student findBySid(Integer sid);

    int update(Student student);

    int delete(Integer sid);
}
